#include "BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h"
#ifdef __cplusplus
extern "C" {
#endif
btScaledTriangleMeshShapeData* bullet_NewbtScaledTriangleMeshShapeData(){
	btScaledTriangleMeshShapeData* wrap_out = new btScaledTriangleMeshShapeData();
	return wrap_out;
}

btVector3FloatData* bullet_btScaledTriangleMeshShapeData_GetFieldOfM_localScaling(btScaledTriangleMeshShapeData* c_this){
	return (btVector3FloatData*)(&c_this->m_localScaling);
}

btTriangleMeshShapeData* bullet_btScaledTriangleMeshShapeData_GetFieldOfM_trimeshShapeData(btScaledTriangleMeshShapeData* c_this){
	return (btTriangleMeshShapeData*)(&c_this->m_trimeshShapeData);
}

btScaledBvhTriangleMeshShape* bullet_NewbtScaledBvhTriangleMeshShape(btBvhTriangleMeshShape* childShape,btVector3* localScaling){
	btBvhTriangleMeshShape * c_arg_childShape=(btBvhTriangleMeshShape *)(void*)(childShape);
	btVector3 const& c_arg_localScaling=(btVector3 const&)(*localScaling);
	btScaledBvhTriangleMeshShape* wrap_out = new btScaledBvhTriangleMeshShape(c_arg_childShape,c_arg_localScaling);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
